// current device id
let device = Framework7.prototype.device; //1:"pc",2:"iphone",3:"ipad",4:"androidphone",5:"androidpad"
window.CONFIG.DEVICE = device.iphone ? 2 : device.ipad ? 3 : device.android||device.androidChrome ? 4 : 1;
// apis
window.CONFIG.APIS = {
	'splash_image'			:'0001',
	'verify_code'			:'0002',
	'member_register'		:'0003',
	'login_with_sns'		:'0004',
	'login'					:'0005',
	'member_profile_new'	:'0006',
	'follow_recommend'		:'0007',
	'follow_add'			:'0008',
	'member_password'		:'0009',
	'area'					:'0010',
	'first_challenge_list'	:'0011',
	'member_timeline'		:'0012',
	'member_challenge_list'	:'0013',
	'member_stage_clear'	:'0014',
	'member_challenge_clear':'0015',
	'challenge_detail'		:'0017',
	'challenge_tips_detail'	:'0019',
	'lofter_photo_list'		:'0020',
	'photo_upload'			:'0021',
	'tag_list'				:'0023',
	'evaluation_list'		:'0024',
	'evaluation'			:'0025',
	'follow_list'			:'0026',
	'follower_list'			:'0027',
	'laoshi_list'			:'0030',
	'laoshi_detail'			:'0031',
	'comment_request'		:'0032',
	'login_user_photo_list'	:'0033',
	'news_detail'			:'0034',
	'message_list'			:'0035',
	'banner'				:'0036',
	'member_gallery_list'	:'0037',
	'member_status'			:'0038',
	'member_achivement_list':'0039',
	'photo_update'			:'0040',
	'equipment'				:'0041',
	'equipment_list'		:'0042',
	'logout'				:'0043',
	'push_status'			:'0044',
	'change_mobile_number'	:'0045',
	'photo_detail'			:'0046',
	'photo_comment_list'	:'0047',
	'photo_like_add'		:'0048',
	'photo_report'			:'0049',
	'photo_del'				:'0050',
	'photo_comment_add'		:'0051',
	'photo_comment_delete'	:'0052',
	'photo_like_cancel'		:'0053',
	'follow_delete'			:'0054',
	'member_profile_update'	:'0055',
	'canon_product'			:'0056',
	'gallery_list'			:'0057',
	'gallery_tag_list'		:'0059',
	'storage_photo_list'	:'0060',
	'message_status_update'	:'0061',
	'unread_message_count'	:'0062',
	'sns_authorize'			:'0063',
	'sns_release'			:'0064',
	'member_profile'		:'0065',
	'member_contact'		:'0066',
	'verify_mobile'			:'0067',
	'member_forgot_password':'0068',
	'preview_confirm'		:'0069',
	'initialize'			:'0070',
	'user_copyright'		:'0083',
	'storage_photo_upload'	:'0084',
	'tmall_link'			:'0085',
	'photo_delete'			:'0091',
	'like_notify'			:'0092',
	'follow_search'			:'0094',
	'upgrade'				:'0095',
	'photo_like_add_sp'		:'1001',
	'photo_like_people'		:'1003'
};